export function useBaseUrl() {
  const url = ref<string>('');
  const getUrl = async () => {
    await getBaseUrl().then((res: any) => {
      url.value = res.data;
      return res.data;
    });
  };
  return {
    url,
    getUrl,
  };
}
